package com.ssm.dao;

import com.ssm.entity.User;

import java.util.List;

public interface UserMapper {

    //通过id查询用户
    public User queryUserById(Integer id);
    //查询所有用户
    public List<User> findAllUser();
    //添加用户
    public void insertUser(User user);
}
